package module2;
import java.io.PrintStream;
import java.util.Scanner;
public class VAT {
	static final int VAT_PERCENTAGE = 119;

	PrintStream out;
	Scanner in;

	VAT(){
		out = new PrintStream(System.out);
		in = new Scanner(System.in);
	}
	void start(){

		out.printf("Voer je bedrag inclusief VAT in:");
		double prijsMetVAT = in.nextDouble();
		double prijsZonderVAT = (prijsMetVAT / VAT_PERCENTAGE) * 100;
		out.printf("Het bedrag zonder VAT is %.2f",prijsZonderVAT);
	}
	public static void main(String[] args) {
		new VAT().start();
	}

}
